<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Chat Room</title>
</head>
<body>
    <div>
        用户名：<input id="userName" />
    </div>
    <div>
        房间号：<input id="roomName" /><button id="connectBtn" >连接</button>
    </div>
    <div>
        <textarea id="outputText" disabled="disabled" rows="10" cols="20" ></textarea>
    </div>
    <div>
        <textarea id="inputText"  rows="3" cols="20" ></textarea>
    </div>
    <div>
        <button id="sendBtn" >发送</button>
    </div>
</body>
<script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/2.0.3/socket.io.js"></script>
<script src="./js/room.js" ></script>
</html>